<template>
  <div class="swiper-container">
    <div class="swiper-wrapper">
      <div class="swiper-slide" v-for="item in imagList" :key="item">
        <div :style="{ backgroundImage: 'url(' + item + ')' }"
        style="height:220px;background-size:cover"
        ></div>
      </div>
    </div>
  </div>
</template>
<script>
// import Swiper from 'swiper'
// import 'swiper/swiper-bundle.min.css'
export default {
  data () {
    return {
      imagList: [
        'https://static.maizuo.com/v5/upload/c02e6526de22512fd8af5257a7c81fb2.jpg?x-oss-process=image/quality,Q_70',
        'https://static.maizuo.com/v5/upload/4c44c20638572f0ef021497a8f88d99b.jpg?x-oss-process=image/quality,Q_70',
        'https://static.maizuo.com/v5/upload/f6769fa4a0281ebce5a303817ae8038e.jpg?x-oss-process=image/quality,Q_70'
      ]
    }
  },
  mounted () {
    // var a = new Swiper('.swiper-container')
  }
}
</script>
